package com.emokili.ewa.manager.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.emokili.ewa.manager.common.annotation.Excel;
import com.emokili.ewa.manager.common.core.domain.BaseEntity;

/**
 * 产品对象 manager_product
 * 
 * @author lcb
 * @date 2022-02-21
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品表id */
    private Long id;

    /** 产品所属订单号 */
    @Excel(name = "产品所属订单号")
    private String orderNumber;

    /** 库存序号 */
    @Excel(name = "库存序号")
    private String sn;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String model;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private Long orderQuantity;

    /** 生产时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionTime;

    /** 生产厂商 */
    @Excel(name = "生产厂商")
    private String manufacturer;

    /** 机器颜色 */
    @Excel(name = "机器颜色")
    private String machineColor;

    /** 面板需求 */
    @Excel(name = "面板需求")
    private String panelDemand;

    /** 具体方案 */
    @Excel(name = "具体方案")
    private String concreteProposal;

    /** 主板表关联id */
    @Excel(name = "主板表关联id")
    private Long mainBoardId;

    /** 显示器 */
    @Excel(name = "显示器")
    private String lcd;

    /** 网络域名代码 */
    @Excel(name = "网络域名代码")
    private String tp;

    /** 电源 */
    @Excel(name = "电源")
    private String powerSource;

    /** 说明书 */
    @Excel(name = "说明书")
    private String specification;

    /** 彩盒 */
    @Excel(name = "彩盒")
    private String graphicCarton;

    /** 安卓版本 */
    @Excel(name = "安卓版本")
    private String androidVersion;

    /** 内核版本 */
    @Excel(name = "内核版本")
    private String kernelVersion;

    /** apk版本 */
    @Excel(name = "apk版本")
    private String apkVersion;

    /** 固件版本 */
    @Excel(name = "固件版本")
    private String firmwareVersion;

    /** wifi Mac地址 */
    @Excel(name = "wifi Mac地址")
    private String wifiMacAddress;

    /** Bt  Mac地址 */
    @Excel(name = "Bt  Mac地址")
    private String btMacAddress;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标记位（0存在，2删除） */
    private String delFlag;

    /** 主板信息 */
    private MainBoard mainBoard;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setOrderQuantity(Long orderQuantity) 
    {
        this.orderQuantity = orderQuantity;
    }

    public Long getOrderQuantity() 
    {
        return orderQuantity;
    }
    public void setProductionTime(Date productionTime) 
    {
        this.productionTime = productionTime;
    }

    public Date getProductionTime() 
    {
        return productionTime;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setMachineColor(String machineColor) 
    {
        this.machineColor = machineColor;
    }

    public String getMachineColor() 
    {
        return machineColor;
    }
    public void setPanelDemand(String panelDemand) 
    {
        this.panelDemand = panelDemand;
    }

    public String getPanelDemand() 
    {
        return panelDemand;
    }
    public void setConcreteProposal(String concreteProposal) 
    {
        this.concreteProposal = concreteProposal;
    }

    public String getConcreteProposal() 
    {
        return concreteProposal;
    }
    public void setMainBoardId(Long mainBoardId) 
    {
        this.mainBoardId = mainBoardId;
    }

    public Long getMainBoardId() 
    {
        return mainBoardId;
    }
    public void setLcd(String lcd) 
    {
        this.lcd = lcd;
    }

    public String getLcd() 
    {
        return lcd;
    }
    public void setTp(String tp) 
    {
        this.tp = tp;
    }

    public String getTp() 
    {
        return tp;
    }
    public void setPowerSource(String powerSource) 
    {
        this.powerSource = powerSource;
    }

    public String getPowerSource() 
    {
        return powerSource;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setGraphicCarton(String graphicCarton) 
    {
        this.graphicCarton = graphicCarton;
    }

    public String getGraphicCarton() 
    {
        return graphicCarton;
    }
    public void setAndroidVersion(String androidVersion) 
    {
        this.androidVersion = androidVersion;
    }

    public String getAndroidVersion() 
    {
        return androidVersion;
    }
    public void setKernelVersion(String kernelVersion) 
    {
        this.kernelVersion = kernelVersion;
    }

    public String getKernelVersion() 
    {
        return kernelVersion;
    }
    public void setApkVersion(String apkVersion) 
    {
        this.apkVersion = apkVersion;
    }

    public String getApkVersion() 
    {
        return apkVersion;
    }
    public void setFirmwareVersion(String firmwareVersion) 
    {
        this.firmwareVersion = firmwareVersion;
    }

    public String getFirmwareVersion() 
    {
        return firmwareVersion;
    }
    public void setWifiMacAddress(String wifiMacAddress) 
    {
        this.wifiMacAddress = wifiMacAddress;
    }

    public String getWifiMacAddress() 
    {
        return wifiMacAddress;
    }
    public void setBtMacAddress(String btMacAddress) 
    {
        this.btMacAddress = btMacAddress;
    }

    public String getBtMacAddress() 
    {
        return btMacAddress;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public MainBoard getMainBoard() {
        return mainBoard;
    }

    public void setMainBoard(MainBoard mainBoard) {
        this.mainBoard = mainBoard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("sn", getSn())
            .append("model", getModel())
            .append("orderQuantity", getOrderQuantity())
            .append("productionTime", getProductionTime())
            .append("manufacturer", getManufacturer())
            .append("machineColor", getMachineColor())
            .append("panelDemand", getPanelDemand())
            .append("concreteProposal", getConcreteProposal())
            .append("mainBoardId", getMainBoardId())
            .append("lcd", getLcd())
            .append("tp", getTp())
            .append("powerSource", getPowerSource())
            .append("specification", getSpecification())
            .append("graphicCarton", getGraphicCarton())
            .append("androidVersion", getAndroidVersion())
            .append("kernelVersion", getKernelVersion())
            .append("apkVersion", getApkVersion())
            .append("firmwareVersion", getFirmwareVersion())
            .append("wifiMacAddress", getWifiMacAddress())
            .append("btMacAddress", getBtMacAddress())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("mainBoard", getMainBoard())
            .toString();
    }
}
